
<template>
	<view class="shop-content">
		<image class="shop-img" :src="shopItem.imgUrl" mode=""></image>
		<view class="shop-text">
			{{shopItem.name}}
			<view class="f-color">颜色分类:{{shopItem.attrs}}</view>
			<view class="f-active-color">7天无理由</view>
		</view>
		<view>
			<view>￥{{shopItem.pprice}}</view>
			<view class="f-active-color">*{{shopItem.num}}</view>
		</view>
	</view>
</template>

<script>
	export default{
		props:{
			shopItem:Object,
			shopIndex:Number
		}
	}
</script>

<style scoped>
	.shop-content {
		background-color: #f7f7f7;
		border-bottom: 2rpx solid #f0ebeb;
		padding: 10rpx 20rpx;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	
	.shop-img {
		width: 160rpx;
		height: 160rpx;
	}
	
	.shop-text {
		width: 400rpx;
		padding: 0 5rpx;
		font-size: 26rpx;
	}
	
</style>